younix@younixVB:~/WorkSpace2/MTK6737/mcu$ ./make.sh "BR6737M_65_S_M0(LTG_DSDS).mak" new
******************************************* recommended Build Environment ******************************************* * [OS] : Linux * [PERL] : v5.10.1 or v5.14.2 * [MAKE] : GNU Make v3.81 * [SHELL] : GNU bash v4.1.5 * [GCC-ARM-NONE-EABI] : v4.6.2 or above * [NATIVE GCC(UBUNTU)]: v4.5 or above project_name = BR6737M_65_S_M0 flavor = LTG_DSDS clean build/BR6737M_65_S_M0/LTG_DSDS/tmp/*.* concatenate make/modem_spec/MTK_MODEM_LTG.mak concatenate make/custom_config/BR6737M_65_S_M0(LTG_DSDS)_EXT.mak concatenate_proj_mak = build/BR6737M_65_S_M0/LTG_DSDS/bin/~BR6737M_65_S_M0(LTG_DSDS).mak ******************************************* recommended Build Environment ******************************************* * [OS] : Linux * [PERL] : v5.10.1 or v5.14.2 * [MAKE] : GNU Make v3.81 * [SHELL] : GNU bash v4.1.5 * [GCC-ARM-NONE-EABI] : v4.6.2 or above * [NATIVE GCC(UBUNTU)]: v4.5 or above
******************************************* Start checking current Build Environment ******************************************* * [PERL] : v5.18.2 [NOT RECOMMENDED] !!! * [MAKE] : GNU Make v3.81 [OK] !!! * [SHELL] : GNU bash v4.3.11 [HIGHER THAN RECOMMENDED] !!! sh: 1: tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc: not found * [GCC-ARM-NONE-EABI] : [UNKNOWN VERSION] !!! * [NATIVE GCC(UBUNTU)]: gcc (Ubuntu/Linaro 4.6.4-6ubuntu2) 4.6.4 [OK] !!!
current Build Env. is not recommendation To avoid unexpected errors , please install the recommended Tool Chain. ******************************************* Build Environment is NOT RECOMMENDED! *******************************************
start Drv feature check... get feature list from drv_features.h... get feature list from drv_features_option.h... generate feature check file... validate features... infoFilename = ././build/BR6737M_65_S_M0/LTG_DSDS/bin/log/info.log make: *** [drv_feature_check] Error 1
关键错误在 sh: 1: tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc: not found
However the following packages replace it: lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate younix@younixVB:~/WorkSpace2/MTK6737/mcu$ sudo apt-get install lib32z1
libgcc_s.so.1
1
error while loading shared libraries: libgcc_s.so.1
解决方法: sudo apt install gcc-multilib
libstdc++.so.6
1 2
./build/BR6737M_65_S_M0/LTG_DSDS/bin/log/DbgInfoGen.log tools/DbgInfoGen: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory